#include <stdio.h>
/*
* I_2_2.c
*
*  Created on: April, 9, 2009
*      Author: yimingliu@fudan.edu.cn
*/

void funI_2_2()
{
	int i,s;
	s=0;
	i=1;
	while(i<=100)
	{
		if(i%3==0&&i%7==0)
		{
			s+=i;
		}
		i=i+1;
	}
	printf("s=%d",s);
}